#!/bin/bash
# backup.sh
# Written by James Kelly <kellyjh@dcs.gla.ac.uk>
# Used with permission.
# This program converts the size of all the images in the current directory


mkdir bigimages

for file in `ls *`
do

 if [ -f $file ]

  width= identify -format "%w" $file
  height= identify -format "%h" $file
 
  echo width
  echo height

  #convert -resize 800x600 $img resized-$img
done
